home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14141 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  791 b 

  1. Path: noc.netcom.net!news
  2. From: Sean Palmer <sean@delta.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: buffered iostreams
  5. Date: Thu, 28 Mar 1996 18:06:59 -0500
  6. Organization: deltaComm Development, Inc.
  7. Message-ID: <315B1B93.71B8@delta.com>
  8. NNTP-Posting-Host: landspeeder.delta.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win95; I)
  13.  
  14. Please help!
  15.  
  16. Can anyone here give me source to derive a new kind of streambuf that 
  17. implements its own datasource and uses BUFFERING of some kind?
  18.  
  19. I can't find any examples of doing this.
  20.  
  21. I can make streambuf descendants and connect them to iostreams just 
  22. fine. Just need to know how to set up the buffering.
  23.  
  24. I'm using Borland C++ if that makes any difference to you...
  25.  
  26. Many thanks!!
  27.